baubs git
src/types/electron.d.ts fix/konva-canvas-performance-optimization (9d30eae9) Text, 462 B
export interface BluetoothDevice {
deviceId: string;
deviceName: string;
}
export interface ElectronAPI {
invoke<T = unknown>(channel: string, ...args: unknown[]): Promise<T>;
onBluetoothDeviceList: (
callback: (devices: BluetoothDevice[]) => void,
) => void;
selectBluetoothDevice: (deviceId: string) => void;
}
declare global {
interface Window {
electronAPI?: ElectronAPI;
process?: {
type?: string;
};
}
}
export {};
Served by rngit 1.3.3 - Generated in 0.03s